package com.cars.bim.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.cars.bim.generator.dao.TbDakaDao;
import com.cars.bim.generator.entity.TbDakaEntity;
import com.cars.bim.generator.service.TbDakaService;



@Service("tbDakaService")
public class TbDakaServiceImpl implements TbDakaService {
	@Autowired
	private TbDakaDao tbDakaDao;
	
	@Override
	public TbDakaEntity queryObject(Integer id){
		return tbDakaDao.queryObject(id);
	}
	
	@Override
	public List<TbDakaEntity> queryList(Map<String, Object> map){
		return tbDakaDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tbDakaDao.queryTotal(map);
	}
	
	@Override
	public void save(TbDakaEntity tbDaka){
		tbDakaDao.save(tbDaka);
	}
	
	@Override
	public void update(TbDakaEntity tbDaka){
		tbDakaDao.update(tbDaka);
	}
	
	@Override
	public void delete(Integer id){
		tbDakaDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tbDakaDao.deleteBatch(ids);
	}

	@Override
	public TbDakaEntity queryObjectByDaka(TbDakaEntity tbDaka) {
		// TODO Auto-generated method stub
		return tbDakaDao.queryObjectByDaka(tbDaka);
	}

	@Override
	public List<Map> queryCount() {
		// TODO Auto-generated method stub
		return  tbDakaDao.queryCount();
	}
	
}
